#ifndef QQ_TEXT_EDIT_PRIVATE
#define QQ_TEXT_EDIT_PRIVATE

#include <qobject.h>

#include <Def.h>

class ElaEvent;
class QMovie;
class QString;
class QQTextEdit;
class QQTextEditStyle;

class QQTextEditPrivate : public QObject
{
	Q_OBJECT
		Q_D_CREATE(QQTextEdit)

public:
	explicit QQTextEditPrivate(QObject* parent = nullptr);
	~QQTextEditPrivate();
	Q_INVOKABLE void onWMWindowClickedEvent(const QVariantMap& data);
	Q_SLOT void onThemeChanged(ElaThemeType::ThemeMode themeMode);

private:
	ElaThemeType::ThemeMode _themeMode;
	QQTextEditStyle* _style{ nullptr };
	ElaEvent* _focusEvent{ nullptr };
	QList<QMovie*> _animations;
	QList<QString> _animationUrls;
};

#endif // !QQ_TEXT_EDIT_PRIVATE


